Builder

Builder for WindowInsetsCompat.

Constructors

Link copied to clipboard
constructor()
Creates a builder where all insets are initially consumed.
constructor(@NonNull insets: WindowInsetsCompat)
Creates a builder where all insets are initialized from WindowInsetsCompat.

Functions

Link copied to clipboard
Builds a WindowInsetsCompat instance.
Link copied to clipboard
Sets the display cutout.
Link copied to clipboard
Sets the insets of a specific window type in pixels.
Link copied to clipboard
Sets the insets a specific window type in pixels, while ignoring its visibility state.
Link copied to clipboard
Sets mandatory system gesture insets in pixels.
Link copied to clipboard
Sets the stable insets in pixels.
Link copied to clipboard
Sets system gesture insets in pixels.
Link copied to clipboard
Sets system window insets in pixels.
Link copied to clipboard
Sets tappable element insets in pixels.
Link copied to clipboard
Sets whether windows that can cause insets are currently visible on screen.